﻿SELECT 	
	[id_line] AS [PK],
	[id_budget] AS [BudgetID],
	[id_category] AS [CategoryID],
	[id_parent] AS [ParentID],
	[code] AS [Code],
	[name] AS [Name],
	[amount] AS [Amount],
	[description] AS [Description]
FROM 
	TRE_Lines
WHERE
	[id_budget] = ?